type AnyOf<T extends readonly any[]> = T extends [infer R, ...infer P] ? R extends '' | '0' | 0 | false | [] | Record<string, never> | null | undefined ? AnyOf<P> : true : false